package com.azure.jvm;

/**
 * 添加运行JVM参数： -XX:+PrintGCDetails -Xms300M -Xmx300M -Xmn100M -Xss512K -XX:MetaspaceSize=20M -XX:MaxMetaspaceSize=20M
 *
 */
public class CGTest {
    public static void main(String[] args) throws InterruptedException {
        byte[] allocation1, allocation2, allocation3, allocation4, allocation5, allocation6;
        allocation1 = new byte[7_0000*1024];

        allocation2 = new byte[8000*1024];

//         allocation3 = new byte[1000*1024];
//         allocation4 = new byte[1000*1024];
//         allocation5 = new byte[1000*1024];
//         allocation6 = new byte[1000*1024];
    }
}
